/* Common style sheet for apt specific diagnosis windows */

.standardFontSize {
    font-size: 12px;
    color: #3b4654;
}

.aptStandardFontSize {
    font-size: 12px;
    color: #3b4654;
}

/* Buttons */

/* Standard Button for all Diagnosis Windows */
.aptStandardButton {
    position: initial;
    cursor: pointer;
    padding: 0;
    text-align: center !important;
    line-height: 38px;
    width: 56px !important;
    height: 38px !important;
    margin-right: 5px !important;
    top: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
}

.aptStandardButton:after {
    content: none;
}

/* When this button is pressed in */

.emosbutton.enabled {
    background-image: linear-gradient(#89BAD3, #89BAD3);
    position: relative;
    top: 0;
}

.emosbutton::after {
    box-shadow: none !important;
}

/* Icon of Button is div inside aptStandardButton */

.innerImageDiv {
    width: 100%;
    height: 100%;
}

.aptInnerImageDiv {
    width: 100%;
    height: 100%;
}

/* Button looks disabled but is still clickable. Used e.g. for Ghost that the Diag Info is shown when release is not there */
.ButtonDisabledClickable {
    opacity: 0.5 !important;
    cursor: default;
}

.userRightDisabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.ButtonDisabledClickable::after {
    position: initial;
}

.userRightDisabled::after {
    position: initial;
}

.aptUserRightDisabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.aptUserRightDisabled::after {
    position: initial;
}


/* Some Standard Icons for buttons */
.aptStartButton {
    background-image: url(../../../../../framework/svg/StatWinButtons/start_right_next.svg), linear-gradient(#fff, #d1d7e0);
}

.aptStartButton:active {
    background-image: url(../../../../../framework/svg/StatWinButtons/start_right_next.svg), linear-gradient(#d1d7e0, #fff);
}

.aptStopButton {
    background-image: url(../../../../../framework/svg/StatWinButtons/stopCommand.svg), linear-gradient(#fff, #d1d7e0);
}

.aptStopButton:active {
    background-image: url(../../../../../framework/svg/StatWinButtons/stopCommand.svg), linear-gradient(#d1d7e0, #fff);
}

.aptStopAllButton {
    background-image: url(../../../../../framework/svg/StatWinButtons/stop_all.svg), linear-gradient(#fff, #d1d7e0);
}

.aptStopAllButton:active {
    background-image: url(../../../../../framework/svg/StatWinButtons/stop_all.svg), linear-gradient(#d1d7e0, #fff);
}

.aptSaveButton {
    background-image: url(../../../../../framework/svg/tabs/accept.svg), linear-gradient(#fff, #d1d7e0);
}

.aptSaveButton:active {
    background-image: url(../../../../../framework/svg/tabs/accept.svg), linear-gradient(#d1d7e0, #fff);
}

.aptCloseButton {
    background-image: url(../../../../../framework/svg/tabs/close.svg), linear-gradient(#fff, #d1d7e0);
}

.aptCloseButton:active {
    background-image: url(../../../../../framework/svg/tabs/close.svg), linear-gradient(#d1d7e0, #fff);
}

.aptStartAllButton {
    background-image: url(../../../../../framework/svg/StatWinButtons/start_all.svg), linear-gradient(#fff, #d1d7e0);
}

.aptStartAllButton:active {
    background-image: url(../../../../../framework/svg/StatWinButtons/start_all.svg), linear-gradient(#d1d7e0, #fff);
}

.aptSendToAllButton {
    background-image: url(../../../../../framework/svg/StatWinButtons/sendToAll.svg), linear-gradient(#fff, #d1d7e0);
}

.aptSendToAllButton:active {
    background-image: url(../../../../../framework/svg/StatWinButtons/sendToAll.svg), linear-gradient(#d1d7e0, #fff);
}

.aptSendToAllButtonBackground {
    background-image: url(../../../../../framework/svg/StatWinButtons/sendToAll.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.aptSearchButton {
    background-image: url(../../../../../framework/svg/Tabs/search.svg), linear-gradient(#fff, #d1d7e0);
}

.aptSearchButton:active {
    background-image: url(../../../../../framework/svg/Tabs/search.svg), linear-gradient(#d1d7e0, #fff);
}

.aptUnselectAllButton {
    background-image: url(../icons/unselectAll.svg), linear-gradient(#fff, #d1d7e0);
}

.aptUnselectAllButton:active {
    background-image: url(../icons/unselectAll.svg), linear-gradient(#d1d7e0, #fff);
}

.aptSelectAllButton {
    background-image: url(../icons/selectAll.svg), linear-gradient(#fff, #d1d7e0);
}

.aptSelectAllButton:active {
    background-image: url(../icons/selectAll.svg), linear-gradient(#d1d7e0, #fff);
}

.aptDeleteButton {
    background-image: url(../icons/delete.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.aptStartConditionsButton {
    background-image: url(../icons/startConditions.svg), linear-gradient(#fff, #d1d7e0);
}

.aptStartConditionsButton:active {
    background-image: url(../icons/startConditions.svg), linear-gradient(#d1d7e0, #fff);
}

.aptEditButton {
    background-image: url(../../../../../framework/svg/Tabs/edit.svg), linear-gradient(#fff, #d1d7e0);
}

.aptEditButton:active {
    background-image: url(../../../../../framework/svg/Tabs/edit.svg), linear-gradient(#d1d7e0, #fff);
}

.aptQuitError {
    background-image: url(../icons/acknowledgeError.svg), linear-gradient(#fff, #d1d7e0);
}

.aptQuitError:active {
    background-image: url(../icons/acknowledgeError.svg), linear-gradient(#d1d7e0, #fff);
}

.distanceToHeader {
    margin-top: 5px;
}

.aptDistanceToHeader {
    margin-top: 5px;
}

/*Conveyor arrows*/

.aptConveyorArrowLeft {
    background-image: url(../icons/smalArrowsLeft.png);
    background-repeat: no-repeat;
    background-position: center;
}

.aptConveyorArrowRight {
    background-image: url(../icons/smalArrowsRight.png);
    background-repeat: no-repeat;
    background-position: center;
}


/* On-Off Button pair */

.aptOnOffButton {
    position: initial;
    height: 38px;
    /*42px - 4px Border = 38px*/
    width: 58px;
    /*60px - 2px Border = 58px*/
    padding: 0px !important;
}

.aptOnOffButton.pressed {
    background: #89BAD3;
    box-shadow: 1px 1px 6px #CECECE;
}

.aptOnButton {
    border-left: 0px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.aptOffButton {
    border-right: 0px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.aptOffButtonBackground {
    background-image: url(../../../../../framework/svg/StatWinButtons/off.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.aptOnButtonBackground {
    background-image: url(../../../../../framework/svg/StatWinButtons/on.svg);
    background-repeat: no-repeat;
    background-position: center;
}

/* Dropdowns */
/* Dropdowns consist of two elements: the 'button' which is clicked, and an unsorted list which then appears */
.dropdown.aptdropdown {
    background-image: url(../../../../../framework/svg/Tabs/downArrowSpez.svg), linear-gradient(#fff, #d1d7e0);
}

.dropdown.aptdropdown.hovered {
    background-position: right center;
    background-image: url(../../../../../framework/svg/Tabs/downArrowSpez.svg), linear-gradient(#d1d7e0, #fff);
    border-radius: 4px 4px 0px 0px !important;
    border: 2px solid rgba(255, 255, 255) !important;
}

.aptdropdown {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-position: right center;
    padding: 10px !important;
    font-size: 12px;
}

.dropdownlistapt {
    width: auto;
    min-width: 100px;
    margin-top: -3px;
    font-size: 12px;
    box-shadow: 1px 1px 6px #CECECE;
    border-radius: 0px 0px 4px 4px;
    border: 2px solid rgba(255, 255, 255);
    /* dropdown with gradient:
    border: 2px solid transparent;
    border-image: linear-gradient(#d1d7e0, #fff) 40 stretch;*/
}

.aptDropdownlist {
    width: auto;
    min-width: 100px;
    margin-top: -3px;
    font-size: 12px;
    box-shadow: 1px 1px 6px #CECECE;
    border-radius: 0px 0px 4px 4px;
    border: 2px solid rgba(255, 255, 255);
    /* dropdown with gradient:
    border: 2px solid transparent;
    border-image: linear-gradient(#d1d7e0, #fff) 40 stretch;*/
}

.dropdownlist.hide {
    display: none;
}

.aptDropdownlabel {
    margin-top: -5px;
    margin-bottom: 5px;
}

/* Text */

.textEllipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.aptTextEllipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.aptHeading {
    color: #105395;
    font-size: 14px;
    font-weight: bold;
}

.aptControlButtonGroup {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

.hide {
    display: none !important;
}

.aptHide {
    display: none !important;
}

hr {
    background-color: #89BAD3;
    height: 1px;
    border: 0px;
    width: 100%;
}

.aptHr {
    background-color: #89BAD3;
    height: 1px;
    border: 0px;
    width: 100%;
}


/* Slider */
.aptSlider {
    -webkit-appearance: none;
    /* Override default CSS styles */
    appearance: none;
    width: 184px;
    height: 5px !important;
    /* Specified height */
    background: #d3d3d3;
    /* Grey background */
    outline: none;
    /* Remove outline */
    border: 0px !important;
    margin-top: 10px;
}

.aptSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 25px;
    background: #196FA3;
    cursor: pointer;
}

.aptSlider::-moz-range-thumb {
    width: 15px;
    height: 25px;
    background: #196FA3;
    cursor: pointer;
}

.aptSlider::-ms-thumb {
    width: 15px;
    height: 25px;
    background: #196FA3;
    cursor: pointer;
}

.aptSlider::-ms-track {
    height: 5px !important;
    background: none !important;
}

.sliderInput {
    margin-top: 10px;
}

.sliderInputForm {
    text-align: center;
}

/* LED syling */

.onLedSyling {
    background: #A5B200;
    width: 10px !important;
    height: 10px !important;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.offLedSyling {
    background: #e5e5e5;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.errorLedSyling {
    background: #B53030;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.warningLedSyling {
    background: #F27019;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.aptOnLedStyling {
    background: #A5B200;
    width: 10px !important;
    height: 10px !important;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.aptOffLedStyling {
    background: #e5e5e5;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.aptErrorLedStyling {
    background: #B53030;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.aptWarningLedStyling {
    background: #F27019;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

/*status styling*/
.channelOk {
    border: 2px solid #a5b200;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.channelWarning {
    border: 2px solid #f27019;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.channelError {
    border: 2px solid #b53030;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.channelUndefined {
    border: 2px solid #5d636d;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.channelDisabled {
    border: 2px solid #A7A7A7;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.aptChannelOk {
    border: 2px solid #a5b200;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.aptChannelWarning {
    border: 2px solid #f27019;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.aptChannelError {
    border: 2px solid #b53030;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.aptChannelUndefined {
    border: 2px solid #5d636d;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.aptChannelDisabled {
    border: 2px solid #A7A7A7;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}